<?php


?>

<div id="">holass</div>    

<script>

(function(){
	var unaVariableGlobal = "holassssssssss";

	$(document).ready(function(){    
	   alert("asd: " + unaVariableGlobal)
	});

	
})();


//console.log("asd: " + unaVariableGlobal)
</script>